building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"

building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"

am 06.03.2006 17:36:38 von Lee Rubao

------=_Part_4306_16477640.1141662998119
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

hi,all:

I tried to build psqlodbc-07.03.0260 on FreeBSD 5.4(i386 machine) but
failed.

When I run "./configure --with-unixodbc" in the psqlodbc source dir and the
following was given:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for SQLGetPrivateProfileString in -lodbcinst... no
configure: error: unixODBC driver manager not found

I have already installed unixODBC-2.2.11 which is working well on my
machine.

But ,what is the problem of building psqlodbc and how can i fix it?

Yours,
Lestat

------=_Part_4306_16477640.1141662998119
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

hi,all:

I tried to build psqlodbc-07.03.0260 on FreeBSD 5.4(i386 mac=
hine) but failed.

When I run "./configure --with-unixodbc"=
in the psqlodbc source dir and the following was given:

checking fo=
r a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes
checking for gawk.=
... no
checking for mawk... no
checking for nawk... nawk
checking w=
hether make sets $(MAKE)... yes
checking whether to enable maintainer-sp=
ecific portions of Makefiles... no

checking for style of include used by make... GNU
checking for gcc..=
.. gcc
checking for C compiler default output file name... a.out
check=
ing whether the C compiler works... yes
checking whether we are cross co=
mpiling... no

checking for suffix of executables...
checking for suffix of object =
files... o
checking whether we are using the GNU C compiler... yes
ch=
ecking whether gcc accepts -g... yes
checking for gcc option to accept A=
NSI C... none needed

checking dependency style of gcc... gcc3
checking for SQLGetPrivateP=
rofileString in -lodbcinst... no
configure: error: unixODBC driver manag=
er not found

I have already installed unixODBC-2.2.11 which is worki=
ng well on my machine.


But ,what is the problem of building psqlodbc and how can i fix it?=


Yours,
Lestat




------=_Part_4306_16477640.1141662998119--

Re: building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"

am 06.03.2006 18:03:59 von Hiroshi Saito

From: "Lee Rubao"

> I have already installed unixODBC-2.2.11 which is working well on my
> machine.
>
> But ,what is the problem of building psqlodbc and how can i fix it?

Umm, Is the directory which you installed contained in path?
Although odbc_config shows the place, is there?
or place of libodbcinst.a....
configure looks for SQLGetPrivateProfileString of odbcinst.

Regards,
Hiroshi Saito


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Re: building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"

am 06.03.2006 18:33:53 von Hiroshi Saito

> > I have already installed unixODBC-2.2.11 which is working well on my
> > machine.
> >
> > But ,what is the problem of building psqlodbc and how can i fix it?
>
> Umm, Is the directory which you installed contained in path?
> Although odbc_config shows the place, is there?
> or place of libodbcinst.a....
> configure looks for SQLGetPrivateProfileString of odbcinst.

Ahh, Some supplement.
Please see CONFIG_sample.txt

CPPFLAGS="-I/usr/local/include -I/usr/local/pgsql/include -I/usr/include/openssl"
LDFLAGS="-L/usr/local/lib -L/usr/local/pgsql/lib"
export CPPFLAGS LDFLAGS
configure --enable-unicode --with-unixodbc --with-odbcver=0x0300 --enable-pthreads

Furthermore, Please check of LD_LIBRARY_PATH at the time of execution.

Regards,
Hiroshi Saito


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Re: building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found"

am 06.03.2006 19:07:48 von Lee Rubao

------=_Part_5946_15508355.1141668468415
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Thank you. I finished the compilation with LDFLAGS =3D -L/usr/local/lib.

2006/3/7, Hiroshi Saito :
>
> > > I have already installed unixODBC-2.2.11 which is working well on my
> > > machine.
> > >
> > > But ,what is the problem of building psqlodbc and how can i fix it?
> >
> > Umm, Is the directory which you installed contained in path?
> > Although odbc_config shows the place, is there?
> > or place of libodbcinst.a....
> > configure looks for SQLGetPrivateProfileString of odbcinst.
>
> Ahh, Some supplement.
> Please see CONFIG_sample.txt
>
> CPPFLAGS=3D"-I/usr/local/include -I/usr/local/pgsql/include
> -I/usr/include/openssl"
> LDFLAGS=3D"-L/usr/local/lib -L/usr/local/pgsql/lib"
> export CPPFLAGS LDFLAGS
> configure --enable-unicode --with-unixodbc --with-odbcver=3D0x0300
> --enable-pthreads
>
> Furthermore, Please check of LD_LIBRARY_PATH at the time of execution.
>
> Regards,
> Hiroshi Saito
>
>

------=_Part_5946_15508355.1141668468415
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Thank you. I finished the compilation with LDFLAGS =3D -L/usr/local/lib. r>

2006/3/7, Hiroshi Saito < =3D"mailto:saito@inetrt.skcapi.co.jp">saito@inetrt.skcapi.co .jp>: pan>
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> > I have =
already installed unixODBC-2.2.11 which is working well on my
> > =
machine.

> >
> > But ,what is the problem of building psqlodbc an=
d how can i fix it?
>
> Umm, Is the directory which you install=
ed contained in path?
> Although odbc_config shows the place, is ther=
e?

> or place of libodbcinst.a....
> configure looks for SQLGetPr=
ivateProfileString of odbcinst.

Ahh, Some supplement.
Please see =
CONFIG_sample.txt

CPPFLAGS=3D"-I/usr/local/include -I/usr/local=
/pgsql/include -I/usr/include/openssl"

LDFLAGS=3D"-L/usr/local/lib -L/usr/local/pgsql/lib"
export=
CPPFLAGS LDFLAGS
configure --enable-unicode --with-unixodbc --with-odbc=
ver=3D0x0300 --enable-pthreads

Furthermore, Please check of LD_LIBRA=
RY_PATH at the time of execution.


Regards,
Hiroshi Saito




------=_Part_5946_15508355.1141668468415--